import Vue from 'vue'
import App from './App'

import common from "./common/common.js";
import util from "@/common/util.js";
import $share from "./common/share.js";
import loginModal from '@/components/common/login';
// 全局挂载后使用
Vue.config.productionTip = false
App.mpType = 'app';

common.wrapperInit()

// 挂载全局方法
Vue.prototype.static = util.imgStatic;
Vue.prototype.$share = $share;
Vue.prototype.deafultSrc = 'https://assets-cdn.lanqb.com/hyxq/xcxu/1.jpg'
Vue.component('login-modal',loginModal)
const app = new Vue({
	...App
})
app.$mount()
